<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<body bgcolor=orange>
<form action="submit_form.php" method="get" name="form">
    <table width="60%" cellspacing="0" cellpadding="2" align="CENTER">
        <tr>
            <td bgcolor="#FFDAB4">用户名:</td>
            <td bgcolor="#FFDAB5"><input type="text" value=""
                                         name="username"></td>
        </tr>
        <tr bgcolor="pink">
            <td>密码:</td>
            <td><input type="password" value="" name="password"></td>
        </tr>
        <tr>
            <td bgcolor="#FFDAB4">年龄:</td>
            <td bgcolor="#FFDAB5"><select name="age"></select>
                <script type="text/javascript">
                    for (var i = 10; i <= 100; i++) {
                        document.form.age.length++;
                        document.form.age.options[document.form.age.length - 1].text = i;
                        document.form.age.options[document.form.age.length - 1].value = i;
                    }
                </script></td>
        </tr>
        <tr bgcolor="pink">
            <td>性别：</td>
            <td><input type="radio" name="sex" value="F">女 <input
                    type="radio" name="sex" value="M">男</td>
        </tr>
        <tr>
            <td bgcolor="#FFDAB4">爱好：</td>
            <td bgcolor="#FFDAB5"><input type="checkbox" name="loves"
                                         value="棋类运动">棋类运动 <input type="checkbox" name="loves"
                                                                          value="球类运动">球类运动 <input type="checkbox" name="loves"
                                                                                                           value="读书">读书 <input type="checkbox" name="loves"
                                                                                                                                    value="听音乐">听音乐 <input type="checkbox" name="loves"
                                                                                                                                                                 value="旅游">旅游</td>
        </tr>
        <tr bgcolor="pink">
            <td>Email:</td>
            <td><input type="text" value="" name="email"></td>
        </tr>
        <tr>
            <td bgcolor="#FFDAB4">Tel:</td>
            <td bgcolor="#FFDAB5"><input type="text" value="" name="tel"></td>
        </tr>
        <tr bgcolor="pink">
            <td colspan="2" align="center">
                <input type="submit" value="提交" name="submit">
                <input type="reset" value="重置"></td>
        </tr>
    </table>
</form>
</body>
</html>